<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="../js/vue.js"></script>
</head>
    
<body>
    <div id = "root">
        <h1>school name:{{name}}</h1>
        <h1>school address：{{address}}</h1>
        <h1>{{$options}}</h1> //只要是VM中的内容都可以拿到
     </div>
     <script type="text/javascript">
        Vue.config.productionTip = false
        const vm = new Vue({
            el: "#root",
            data: function(){
                return {
                    name: "beijing university",
                    address: "changpin"
                }
            }
        })
        console.log(vm)
     </script>
</body>
</html>